package com.cyzy.pojo;


import java.sql.Timestamp;

public class Driver {

  private Integer driverId;
  private String name;
  private String phone;
  private String driverAcc;
  private String password;
  private String idCard;
  private String driverLicenseNumber;
  private double rating;
  private Integer isFullTime;
  private Integer auditStatus;
  private double balance;
  private java.sql.Timestamp createTime;
  private long driverStatus;
  private double withdrawableBalance;
  private double freezeBalance;
  private double totalIncome;
  private String avatar;
  private Integer driverX;
  private Integer driverY;
  private Integer takingStatus;
  private Integer status;


  public Driver() {
  }

  public Driver(Integer driverId, String name, String phone, String driverAcc, String password, String idCard, String driverLicenseNumber, double rating, Integer isFullTime, Integer auditStatus, double balance, Timestamp createTime, long driverStatus, double withdrawableBalance, double freezeBalance, double totalIncome, String avatar, Integer driverX, Integer driverY, Integer takingStatus, Integer status) {
    this.driverId = driverId;
    this.name = name;
    this.phone = phone;
    this.driverAcc = driverAcc;
    this.password = password;
    this.idCard = idCard;
    this.driverLicenseNumber = driverLicenseNumber;
    this.rating = rating;
    this.isFullTime = isFullTime;
    this.auditStatus = auditStatus;
    this.balance = balance;
    this.createTime = createTime;
    this.driverStatus = driverStatus;
    this.withdrawableBalance = withdrawableBalance;
    this.freezeBalance = freezeBalance;
    this.totalIncome = totalIncome;
    this.avatar = avatar;
    this.driverX = driverX;
    this.driverY = driverY;
    this.takingStatus = takingStatus;
    this.status = status;
  }

  /**
   * 获取
   * @return driverId
   */
  public Integer getDriverId() {
    return driverId;
  }

  /**
   * 设置
   * @param driverId
   */
  public void setDriverId(Integer driverId) {
    this.driverId = driverId;
  }

  /**
   * 获取
   * @return name
   */
  public String getName() {
    return name;
  }

  /**
   * 设置
   * @param name
   */
  public void setName(String name) {
    this.name = name;
  }

  /**
   * 获取
   * @return phone
   */
  public String getPhone() {
    return phone;
  }

  /**
   * 设置
   * @param phone
   */
  public void setPhone(String phone) {
    this.phone = phone;
  }

  /**
   * 获取
   * @return driverAcc
   */
  public String getDriverAcc() {
    return driverAcc;
  }

  /**
   * 设置
   * @param driverAcc
   */
  public void setDriverAcc(String driverAcc) {
    this.driverAcc = driverAcc;
  }

  /**
   * 获取
   * @return password
   */
  public String getPassword() {
    return password;
  }

  /**
   * 设置
   * @param password
   */
  public void setPassword(String password) {
    this.password = password;
  }

  /**
   * 获取
   * @return idCard
   */
  public String getIdCard() {
    return idCard;
  }

  /**
   * 设置
   * @param idCard
   */
  public void setIdCard(String idCard) {
    this.idCard = idCard;
  }

  /**
   * 获取
   * @return driverLicenseNumber
   */
  public String getDriverLicenseNumber() {
    return driverLicenseNumber;
  }

  /**
   * 设置
   * @param driverLicenseNumber
   */
  public void setDriverLicenseNumber(String driverLicenseNumber) {
    this.driverLicenseNumber = driverLicenseNumber;
  }

  /**
   * 获取
   * @return rating
   */
  public double getRating() {
    return rating;
  }

  /**
   * 设置
   * @param rating
   */
  public void setRating(double rating) {
    this.rating = rating;
  }

  /**
   * 获取
   * @return isFullTime
   */
  public Integer getIsFullTime() {
    return isFullTime;
  }

  /**
   * 设置
   * @param isFullTime
   */
  public void setIsFullTime(Integer isFullTime) {
    this.isFullTime = isFullTime;
  }

  /**
   * 获取
   * @return auditStatus
   */
  public Integer getAuditStatus() {
    return auditStatus;
  }

  /**
   * 设置
   * @param auditStatus
   */
  public void setAuditStatus(Integer auditStatus) {
    this.auditStatus = auditStatus;
  }

  /**
   * 获取
   * @return balance
   */
  public double getBalance() {
    return balance;
  }

  /**
   * 设置
   * @param balance
   */
  public void setBalance(double balance) {
    this.balance = balance;
  }

  /**
   * 获取
   * @return createTime
   */
  public Timestamp getCreateTime() {
    return createTime;
  }

  /**
   * 设置
   * @param createTime
   */
  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

  /**
   * 获取
   * @return driverStatus
   */
  public long getDriverStatus() {
    return driverStatus;
  }

  /**
   * 设置
   * @param driverStatus
   */
  public void setDriverStatus(long driverStatus) {
    this.driverStatus = driverStatus;
  }

  /**
   * 获取
   * @return withdrawableBalance
   */
  public double getWithdrawableBalance() {
    return withdrawableBalance;
  }

  /**
   * 设置
   * @param withdrawableBalance
   */
  public void setWithdrawableBalance(double withdrawableBalance) {
    this.withdrawableBalance = withdrawableBalance;
  }

  /**
   * 获取
   * @return freezeBalance
   */
  public double getFreezeBalance() {
    return freezeBalance;
  }

  /**
   * 设置
   * @param freezeBalance
   */
  public void setFreezeBalance(double freezeBalance) {
    this.freezeBalance = freezeBalance;
  }

  /**
   * 获取
   * @return totalIncome
   */
  public double getTotalIncome() {
    return totalIncome;
  }

  /**
   * 设置
   * @param totalIncome
   */
  public void setTotalIncome(double totalIncome) {
    this.totalIncome = totalIncome;
  }

  /**
   * 获取
   * @return avatar
   */
  public String getAvatar() {
    return avatar;
  }

  /**
   * 设置
   * @param avatar
   */
  public void setAvatar(String avatar) {
    this.avatar = avatar;
  }

  /**
   * 获取
   * @return driverX
   */
  public Integer getDriverX() {
    return driverX;
  }

  /**
   * 设置
   * @param driverX
   */
  public void setDriverX(Integer driverX) {
    this.driverX = driverX;
  }

  /**
   * 获取
   * @return driverY
   */
  public Integer getDriverY() {
    return driverY;
  }

  /**
   * 设置
   * @param driverY
   */
  public void setDriverY(Integer driverY) {
    this.driverY = driverY;
  }

  /**
   * 获取
   * @return takingStatus
   */
  public Integer getTakingStatus() {
    return takingStatus;
  }

  /**
   * 设置
   * @param takingStatus
   */
  public void setTakingStatus(Integer takingStatus) {
    this.takingStatus = takingStatus;
  }

  /**
   * 获取
   * @return status
   */
  public Integer getStatus() {
    return status;
  }

  /**
   * 设置
   * @param status
   */
  public void setStatus(Integer status) {
    this.status = status;
  }

  public String toString() {
    return "Driver{driverId = " + driverId + ", name = " + name + ", phone = " + phone + ", driverAcc = " + driverAcc + ", password = " + password + ", idCard = " + idCard + ", driverLicenseNumber = " + driverLicenseNumber + ", rating = " + rating + ", isFullTime = " + isFullTime + ", auditStatus = " + auditStatus + ", balance = " + balance + ", createTime = " + createTime + ", driverStatus = " + driverStatus + ", withdrawableBalance = " + withdrawableBalance + ", freezeBalance = " + freezeBalance + ", totalIncome = " + totalIncome + ", avatar = " + avatar + ", driverX = " + driverX + ", driverY = " + driverY + ", takingStatus = " + takingStatus + ", status = " + status + "}";
  }
}
